package com.example.a2205douyin.xihuan;

import androidx.lifecycle.MutableLiveData;

import com.example.a2205douyin.baseMVVM.viewmodel.BaseViewModel;
import com.example.a2205douyin.entity.VideoEntity;

import java.security.PublicKey;

public class XiHuanViewModel extends BaseViewModel<XihuanRepo> {
    @Override
    protected XihuanRepo createRepo() {
        return new XihuanRepo();
    }
    public MutableLiveData<VideoEntity> success = new MutableLiveData<>();
    public MutableLiveData<String> fail = new MutableLiveData<>();

    public void loveVideo(){
        repo.loveVideo(success,fail);
    }
}
